version 13
clear

import delimited record_id school_name school_location grade school_type weight_kg height_cm muac_cm waist_cm ethnicity birth_year age sex bmi age_to_birth_year questionnarie_complete using "KaskiDistrictNepalMU_DATA_NOHDRS_2021-06-04_1415.csv", varnames(nonames)

label data "KaskiDistrictNepalMU_DATA_NOHDRS_2021-06-04_1415.csv"

label define school_location_ 1 "Urban" 2 "Rural" 
label define grade_ 1 "G1" 2 "G2" 3 "G3" 4 "G4" 5 "G5" 6 "G6" 7 "G7" 8 "G8" 9 "G9" 10 "G10" 11 "G11" 12 "G12" 
label define school_type_ 1 "Private" 2 "Public" 
label define ethnicity_ 1 "Brhamin" 2 "Kshatriya" 3 "Vaishya" 4 "Sudra" 5 "Other" 
label define sex_ 1 "Girl" 2 "Boy" 
label define questionnarie_complete_ 0 "Incomplete" 1 "Unverified" 2 "Complete" 

label values school_location school_location_
label values grade grade_
label values school_type school_type_
label values ethnicity ethnicity_
label values sex sex_
label values questionnarie_complete questionnarie_complete_



label variable record_id "Record ID"
label variable school_name "School Name"
label variable school_location "School location"
label variable grade "Grade"
label variable school_type "School type"
label variable weight_kg "Weight"
label variable height_cm "Height cm"
label variable muac_cm "MUAC cm"
label variable waist_cm "Waist circumference cm"
label variable ethnicity "Ethnicity"
label variable birth_year "Birth year"
label variable age "Age"
label variable sex "Sex"
label variable bmi "BMI"
label variable age_to_birth_year "Age according to birth year"
label variable questionnarie_complete "Complete?"

order record_id school_name school_location grade school_type weight_kg height_cm muac_cm waist_cm ethnicity birth_year age sex bmi age_to_birth_year questionnarie_complete 
set more off
describe
